.mybg {
  margin-bottom: 50px;
  padding: 20px;
  
  .review {
    box-sizing: border-box;
    resize: none;
    width: 100%;
    height: 80px;
    border: 1px solid var(--block);
    padding: 10px;
    outline: none;
    border-radius: 5px;
  }

  .options {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    
    .reviewBtn {
      outline: none;
      font-size: 16px;
      color: var(--bg);
      border-radius: 20px;
      background-color: var(--block);
      padding: 5px 10px;
      margin-right: 5px;
      cursor: pointer;
      transition: .15s;
      border-top-right-radius: 10px;
      border-bottom-left-radius: 5px;
      
      &:active {
        background-color: #eee;
        color: black;
        font-weight: bold;
      }
    }
  }

  // 留言板
  .past_box {
    margin-top: 30px;
    padding-left: 150px;
    position: relative;
    z-index: 0;

    &::before {
      position: absolute;
      top: 0;
      left: 210px;
      bottom: 0;
      content: "";
      display: block;
      width: 5px;
      height: auto;
      background-color: #ddd;
      z-index: -1;
      opacity: 0.8
    }
    
    .year_title {
      margin-top: 30px;
      padding: 10px 0 10px 50px;  
      font-size: 35px;
      
      &::before {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 5px solid #333;
        background-color: #fff;
        margin-right: 20px;
      }
    }

    li {
      margin-top: 20px;
      display: flex;
      
      .time {
        display: flex;
        align-items: center;
        margin-right: 30px;
        position: relative;
        color: #666;
        
        &::after {
          content: "";
          position: absolute;
          top: 50%;
          right: -55%;
          transform: translateY(-50%);
          width: 15px;
          height: 15px;
          border-radius: 50%;
          background-color: #bbb;
        }
      }

      p {
        box-sizing: border-box;
        padding: 10px 5px;
        background-color: var(--bg);
        border-bottom: 2px solid #ccc;
        border-radius: 2px;
        left: 20px;
        max-width: 80%;
        position: relative;
        font-size: 15px;
        display: flex;
        width: 100%;

        &::before {
          top: 50%;
          transform: translateY(-50%);
          box-sizing: border-box;
          content: "◀";
          font-size: 18px;
          position: absolute;
          left: -13px;
          color: #efefef;
        }

        .avatar {
          margin-left: 5px;
        }
      }
    }
  }
}
.no_data {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 40px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #dedede;
}